Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new motto in functions #297

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions src/routes/docs/products/functions/development/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default async ({ req, res, log, error }) => {

// `res.json()` is a handy helper for sending JSON
return res.json({
motto: 'Build Fast. Scale Big. All in One Place.',
motto: 'Build like a team of hundreds_',
learn: 'https://appwrite.io/docs',
connect: 'https://appwrite.io/discord',
getInspired: 'https://builtwith.appwrite.io',
Expand Down Expand Up @@ -87,7 +87,7 @@ return function ($context) {

// `res.json()` is a handy helper for sending JSON
return $context->res->json([
'motto' => 'Build Fast. Scale Big. All in One Place.',
'motto' => 'Build like a team of hundreds_',
'learn' => 'https://appwrite.io/docs',
'connect' => 'https://appwrite.io/discord',
'getInspired' => 'https://builtwith.appwrite.io',
Expand Down Expand Up @@ -126,7 +126,7 @@ def main(context):

# `context.res.json()` is a handy helper for sending JSON
return context.res.json({
"motto": "Build Fast. Scale Big. All in One Place.",
"motto": "Build like a team of hundreds_",
"learn": "https://appwrite.io/docs",
"connect": "https://appwrite.io/discord",
"getInspired": "https://builtwith.appwrite.io",
Expand Down Expand Up @@ -161,7 +161,7 @@ def main(context)

# `context.res.json()` is a handy helper for sending JSON
return context.res.json({
"motto": "Build Fast. Scale Big. All in One Place.",
"motto": "Build like a team of hundreds_",
"learn": "https://appwrite.io/docs",
"connect": "https://appwrite.io/discord",
"getInspired": "https://builtwith.appwrite.io",
Expand Down Expand Up @@ -196,7 +196,7 @@ export default ({ req, res, log, error }: any) => {

// `res.json()` is a handy helper for sending JSON
return res.json({
motto: "Build Fast. Scale Big. All in One Place.",
motto: "Build like a team of hundreds_",
learn: "https://appwrite.io/docs",
connect: "https://appwrite.io/discord",
getInspired: "https://builtwith.appwrite.io",
Expand Down Expand Up @@ -232,7 +232,7 @@ Future main(final context) async {

// `res.json()` is a handy helper for sending JSON
return context.res.json({
'motto': 'Build Fast. Scale Big. All in One Place.',
'motto': 'Build like a team of hundreds_',
'learn': 'https://appwrite.io/docs',
'connect': 'https://appwrite.io/discord',
'getInspired': 'https://builtwith.appwrite.io',
Expand Down Expand Up @@ -272,7 +272,7 @@ class Main {

// `context.res.json()` is a handy helper for sending JSON
return context.res.json(mutableMapOf(
"motto" to "Build Fast. Scale Big. All in One Place.",
"motto" to "Build like a team of hundreds_",
"learn" to "https://appwrite.io/docs",
"connect" to "https://appwrite.io/discord",
"getInspired" to "https://builtwith.appwrite.io"
Expand Down Expand Up @@ -314,7 +314,7 @@ public class Main {
}

Map json = new HashMap<>();
json.put("motto", "Build Fast. Scale Big. All in One Place.");
json.put("motto", "Build like a team of hundreds_");
json.put("learn", "https://appwrite.io/docs");
json.put("connect", "https://appwrite.io/discord");
json.put("getInspired", "https://builtwith.appwrite.io");
Expand Down Expand Up @@ -354,7 +354,7 @@ func main(context: RuntimeContext) async throws -> RuntimeOutput {

// `context.res.json()` is a handy helper for sending JSON
return try context.res.json([
"motto": "Build Fast. Scale Big. All in One Place.",
"motto": "Build like a team of hundreds_",
"learn": "https://appwrite.io/docs",
"connect": "https://appwrite.io/discord",
"getInspired": "https://builtwith.appwrite.io",
Expand Down Expand Up @@ -397,7 +397,7 @@ public class Handler {
// `Context.Res.Json()` is a handy helper for sending JSON
return Context.Res.Json(new Dictionary()
{
{ "motto", "Build Fast. Scale Big. All in One Place." },
{ "motto", "Build like a team of hundreds_" },
{ "learn", "https://appwrite.io/docs" },
{ "connect", "https://appwrite.io/discord" },
{ "getInspired", "https://builtwith.appwrite.io" },
Expand Down