Merge pull request 'Fix inverted condition for Authorization and update expected JSON body' (#16) from minor-fixes into master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #16
This commit is contained in:
commit
0dfa698ada
@ -19,7 +19,7 @@ const (
|
||||
|
||||
func MustGetToken(c *gin.Context) budgeteer.Token { //nolint:ireturn
|
||||
token := c.MustGet(ParamName)
|
||||
if token, ok := token.(budgeteer.Token); !ok {
|
||||
if token, ok := token.(budgeteer.Token); ok {
|
||||
return token
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,6 @@ function load(text: String) {
|
||||
});
|
||||
};
|
||||
function keypress(e: KeyboardEvent) {
|
||||
console.log(e.key);
|
||||
if (e.key == "Enter") {
|
||||
const selected = Suggestions.value[0];
|
||||
selectElement(selected);
|
||||
|
@ -15,8 +15,8 @@ const Memo = ref("");
|
||||
const Amount = ref("0");
|
||||
|
||||
const payload = computed(() => JSON.stringify({
|
||||
budget_id: props.budgetid,
|
||||
account_id: props.accountid,
|
||||
budgetId: props.budgetid,
|
||||
accountId: props.accountid,
|
||||
date: TransactionDate.value,
|
||||
payee: Payee.value,
|
||||
category: Category.value,
|
||||
|
Loading…
x
Reference in New Issue
Block a user