mirror of
https://github.com/markuryy/shark.git
synced 2026-07-27 23:41:01 +00:00
Compare commits
2 Commits
3d7d3ded1c
...
1abd13e898
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1abd13e898 | ||
|
|
3b67a03ad2 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "shark",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
2
src-tauri/Cargo.lock
generated
2
src-tauri/Cargo.lock
generated
@@ -4,7 +4,7 @@ version = 4
|
||||
|
||||
[[package]]
|
||||
name = "Shark"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
dependencies = [
|
||||
"blowfish",
|
||||
"byteorder",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "Shark"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
description = "powered by tauri and sveltekit"
|
||||
authors = ["markuryy"]
|
||||
edition = "2021"
|
||||
|
||||
@@ -139,7 +139,7 @@ export async function upsertPlaylists(playlists: any[]): Promise<void> {
|
||||
// Insert new playlists
|
||||
for (const playlist of playlists) {
|
||||
await database.execute(
|
||||
`INSERT INTO spotify_playlists (id, name, track_count, owner_name, image_url, cached_at)
|
||||
`INSERT OR REPLACE INTO spotify_playlists (id, name, track_count, owner_name, image_url, cached_at)
|
||||
VALUES ($1, $2, $3, $4, $5, $6)`,
|
||||
[
|
||||
playlist.id,
|
||||
|
||||
Reference in New Issue
Block a user