Skip to content

Commit

Permalink
Add body
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Oct 15, 2024
1 parent 90d51aa commit 93f1212
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions api/web/src/components/CloudTAK/Menu/Mission/MissionLogs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
<span
v-for='keyword in log.keywords'
:key='keyword'
v-text='keyword'
class='me-1 badge badge-outline bg-blue-lt'
v-text='keyword'
/>
</div>
</div>
Expand Down Expand Up @@ -88,7 +88,6 @@
<script setup lang='ts'>
import { ref, computed, defineProps, onMounted } from 'vue'
import type { ComputedRef } from 'vue';
import { std } from '../../../../../src/std.ts';
import type { MissionLog } from '../../../../types.ts';
import {
IconTrash,
Expand Down
3 changes: 2 additions & 1 deletion api/web/src/stores/base/mission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ export default class Subscription {
static async logCreate(guid: string, token: string | undefined, body: object): Promise<void> {
const url = stdurl('/api/marti/missions/' + encodeURIComponent(guid) + '/log');

const log = await std(url, {
await std(url, {
method: 'POST',
body: body,
headers: Subscription.headers(token)
});

Expand Down

0 comments on commit 93f1212

Please sign in to comment.