Skip to content

Instantly share code, notes, and snippets.

@GregRos
Last active October 13, 2022 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GregRos/7d17435add0f149f6acc98347daff15f to your computer and use it in GitHub Desktop.
Save GregRos/7d17435add0f149f6acc98347daff15f to your computer and use it in GitHub Desktop.
let USER = 1000;
// Logs user in using `auth`
export async function login(auth) { /* ... */ }
// Gets a list of all squmbles of the user
export async function getSqumbles() { /* ... */ }
// Gets squmble by ID
export async function getSqumble(id) { /* ... */ }
// Updates the squggle. Data must include id.
export async function updateSquggle(data) { /* ... */ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment