Skip to content

Commit

Permalink
chore: add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbrayo committed Jun 26, 2024
1 parent 3cbb679 commit 6654277
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/Apikey.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<h1>API Key</h1>
<p>Your API key is: {{ apiKey }}</p>
</div>
<!--TODO: Add rotate key, copy to clipboard functionality -->
</template>

<script setup lang="ts">
Expand Down
3 changes: 2 additions & 1 deletion src/firebase/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ export async function getScreenTimeData(
): Promise<ScreenTimeData[] | []> {
const q = query(
collection(db, 'screentime/' + userId + '/' + userId),
// where('date', '>=', since || new Date('1900-1-1')),
// TODO: fetch data using the since parameter
// where('date', '>=', since || new Date('1900-1-1')),
where('public', '==', _public)
)

Expand Down

0 comments on commit 6654277

Please sign in to comment.