Skip to content

Commit

Permalink
Merge pull request #297 from appwrite/doc_changed_motto
Browse files Browse the repository at this point in the history
Added new motto in functions
  • Loading branch information
loks0n authored Nov 14, 2023
2 parents 7ee96a8 + 62bdcd0 commit 678410a
Showing 1 changed file with 10 additions and 10 deletions.
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

0 comments on commit 678410a

Please sign in to comment.