0:00:24
welcome back guys um another week day
0:00:28
um and that means another episode of
0:00:30
bill break and fix
0:00:32
um we are roller coders if you're new
0:00:35
we'd like to inform you that we stream
0:00:38
9 30 to 10 30 on weekdays and 9 30 to 11
0:00:43
so we're working on a project called
0:00:46
scrambler.ca but we are trying to make
0:00:48
our own announcements
0:00:50
to it so plus yesterday we worked on
0:00:53
fetch apis and we were able to
0:00:56
um redesign our database in dynamodb
0:01:00
today we're going to move forward and
0:01:04
the stuff which we are passing through
0:01:05
the fetch api is going in on json format
0:01:09
so yeah what do you have to say then
0:01:12
what did we do today
0:01:14
perfect so uh like you
0:01:17
mentioned we we need to do the um
0:01:21
we need to pass in the dynamo
0:01:25
we need to pass this stuff to the
0:01:28
deviant jason format but um
0:01:32
uh yeah so i would just say
0:01:35
let's dive in the fun part
0:01:39
right um let's share my screen yep
0:01:43
there we go and um if you want to open
0:01:47
fetch on your end on it
0:01:51
so we can just fast track the process
0:01:56
more we get done the better
0:02:05
right so i've already committed the
0:02:09
code for last night
0:02:16
i just want to check wigs so when you
0:02:20
want to check where are we at this side
0:02:23
i kind of forgot oh okay yeah i i can go
0:02:27
ahead and give it a run um
0:02:32
but i think we were getting the board
0:02:35
but we were not in the json format
0:02:37
that's what we were doing
0:02:40
but it's all right um let's do it
0:02:43
yeah you must be right
0:02:46
um in that case we don't
0:02:50
even have to run it we can just continue
0:02:53
no it's fine um i guess we're gonna see
0:02:57
which other viewers as well um where we
0:03:01
right my goodness heck i really have to
0:03:04
pray much spoiled like comes as soon as
0:03:08
yeah i think it was really bad in my end
0:03:13
yeah you should probably um it'll come
0:03:17
you order it from amazon yeah yeah right
0:03:20
that that shouldn't take long
0:03:41
okay no error oh wait one error here
0:03:46
same error but i think the board is
0:03:48
being created let me go and
0:03:55
and when i actually have to
0:03:58
change the size of the screen because i
0:04:01
can't see anything
0:04:02
in my in the small screen
0:04:05
can you see my screen or not uh
0:04:08
i can't but it was just all
0:04:12
on the max so it wasn't too small
0:04:16
that's right right uh did we enter
0:04:20
the last one isn't it yeah this one and
0:04:24
you might want to go ahead and delete
0:04:25
the boards as well
0:04:27
let's clean up first and then yeah let's
0:04:31
it's always good to work in a
0:04:34
clean environment yeah i know right
0:04:41
i i know that don't know that i know
0:04:57
all right all right this one
0:05:06
i'll probably delete everything from
0:05:19
okay cool that's good to go for you so
0:05:24
the board name is being assigned an
0:05:28
so can you open the um api
0:05:37
interesting how my screens are being res
0:05:42
sized and then when i put the screens in
0:05:46
max screen it says in half
0:05:53
all right and never mind um
0:05:56
oh this is how we were doing it
0:06:00
yeah uh i was wondering can you not json
0:06:04
yeah that's exactly what i was going to
0:06:06
do because it's already
0:06:08
coming as a string
0:06:11
as it just an object yep so it's making
0:06:15
object by just stringify so and can you
0:06:18
do some good folder logs
0:06:20
so that we don't have to compile it
0:06:27
humble name string if i
0:06:30
request that body and
0:06:34
okay we don't need this one we just need
0:06:38
can you just print like
0:06:43
requestorbody.port name yeah in another
0:06:49
oh and other one yeah
0:06:54
why would you want in another one
0:06:59
um do you want to see what body as well
0:07:02
because last time what happened was the
0:07:04
board name was was
0:07:05
inside the crystal body
0:07:09
or never inside of the body
0:07:12
yeah just the body okay
0:07:17
so requested body is technically a json
0:07:20
object so you want to see
0:07:28
what name is it just let me confirm this
0:07:32
animate board name only
0:07:35
yep i think you did yeah that's the one
0:07:40
so i'll do this one and copy and paste
0:07:43
there in that one as well
0:07:47
so this would be easier to recognize
0:07:50
call um don't don't json stringify
0:07:53
board name because it's a string not the
0:07:57
no no no ctrl z yeah
0:08:00
the last console.log yeah
0:08:04
don't stringify it because board name is
0:08:11
no not this one the last one yeah i know
0:08:15
thinking what you just said and
0:08:18
trying to understand it as well yeah
0:08:21
okay because it's already
0:08:27
and it's not making it a string here
0:08:31
yeah um it's not coming
0:08:35
we just want to kind of see that if we
0:08:37
don't make it a string or something
0:08:39
because any which ways request a body
0:08:42
is a string and if you json string you
0:08:45
it's just you can only call
0:08:49
right i get you now
0:09:02
don't need that cool all right happy
0:09:15
uh by the way we need to write a blog
0:09:22
task spell and should only
0:09:27
take us five minutes
0:09:31
so let's do that straight off to this
0:09:35
straight off to the stream yep
0:10:16
there we go fast on
0:10:34
i'm just trying to visualize at the
0:10:39
what we are trying to do so
0:10:42
we are trying to send all the
0:10:46
as a json object in dynamodb
0:11:03
but at the moment is going by
0:11:08
okay cool that makes sense
0:11:12
yeah um i guess hey
0:11:15
control that logs will give us more
0:11:20
all right i'm gonna make a
0:11:26
call for it and i'll hit the lambda
0:11:31
and see what that says
0:11:37
i'm from services cloud watch
0:11:58
you know what's what's gonna happen when
0:12:06
huh yeah what's gonna happen
0:12:10
the camera that i'm using will go a bit
0:12:17
because i've got two cameras at the
0:12:20
the max not the one that's on top of my
0:12:24
big big screen that's pretty cool
0:12:32
yeah calm to be honest i can't wait
0:12:36
i already feel i'm already feeling as
0:12:43
once we get our equipment as in
0:12:45
professional steam
0:12:47
professional streamers
0:12:53
um i'm not able to access the endpoint
0:12:55
for some reason then
0:12:57
what does it say you can see my screen
0:13:12
because it's nothing there in your
0:13:30
typical programming error that's not
0:13:33
possible it was just
0:13:34
wasn't working but now it is that's why
0:13:37
it's funny no it wasn't working but like
0:13:40
you know what i mean yeah
0:13:56
uh post unexpected and off i think it
0:14:02
so the one that we're already facing in
0:14:05
the in the middleware
0:14:15
yeah it's that one
0:14:19
i'm watching this time
0:14:22
i just must see what happened to the
0:14:28
so nothing can do why is that are you
0:14:31
posting yeah am i not
0:14:38
i don't know i thought we were
0:14:42
doing up we were doing impulse man
0:14:45
we're not doing him oh we're not doing
0:14:49
as well but the whole point was to see
0:14:52
yeah exactly this is the whole point to
0:14:56
this one work hang on
0:15:02
lambda i think i'm messed up
0:15:17
um this doesn't we should probably go
0:15:20
this doesn't seem right
0:15:23
which way was the lambda function
0:15:42
i just want to see the arn for the
0:15:48
yeah and then go and hit the hit the log
0:15:52
so we are getting a 502 that means there
0:15:55
is some syntax here
0:15:57
that's fine we will have a look yep
0:16:00
um it's i think you need console.
0:16:08
and zero and zero and zero and zero
0:16:16
you're busted i caught you
0:16:23
and i'm gonna open you up i can open a
0:16:29
all right yeah two string prop
0:16:32
two ah don't tell me that
0:16:36
don't even try and tell me that what did
0:16:43
no that's this says that
0:16:48
two string is not it's undefined
0:16:52
cannot read the property of two string
0:16:54
which is i'm pretty sure here
0:16:58
because it's taking this
0:17:01
the property of the board name
0:17:04
i think the issue is that wait
0:17:10
oh wait i think we are already
0:17:13
disaster given error if you do a
0:17:15
tostring to a string
0:17:21
to string to a string
0:17:25
um i haven't really experienced that
0:17:27
kind of a thing before
0:17:29
um so i wouldn't be able to tell you but
0:17:32
we can have a look
0:17:34
i'm just looking because um
0:17:37
what we're trying to assume is that
0:17:40
board name is already a string
0:17:42
and we are two string that string and
0:17:46
that's a lot of two n strings
0:17:58
but if that was the case then this ah
0:18:02
no hang on a minute i need to go in the
0:18:06
thing is the console logs
0:18:10
can you show me the game and show up can
0:18:12
you show me the code
0:18:18
nice i guess just remove it you know
0:18:23
this wouldn't be that arrow
0:18:26
why is because these consoles
0:18:29
laws didn't even come through which
0:18:33
as soon as when they it just broke
0:18:39
yeah um so what we need to do is um if
0:18:46
remove two string from here
0:18:49
yeah and if you if you really want to
0:18:52
try that we can do board name is equal
0:18:54
to board name dot two string
0:19:21
so you're thinking
0:19:25
in a new line this way not at all
0:19:32
line not console.logs
0:19:37
it's not a console.log it's a function
0:19:40
it's an assignment operator
0:19:43
or which line go on any line any new
0:19:50
board name board hyphen name sorry
0:19:54
underscore name yeah sorry underscore
0:19:59
is equal to no is equal to yeah
0:20:03
board underscore name
0:20:22
semicolon i don't know if we need it i
0:20:29
okay cool can try that one so
0:20:33
this is there born named to string
0:20:38
one another body name
0:20:41
okay so this is here already which is
0:21:00
as the first console.log like
0:21:08
line number um after line number 97
0:21:13
all right okay here we go
0:21:17
um i need to hang on charge my
0:21:25
you didn't hear my phone drop did you no
0:21:33
okay so i'll just build this
0:21:53
i'm really really tired today though um
0:21:58
been a long day for you yeah
0:22:01
yeah um it's built though
0:22:06
yeah a lot of uni work so
0:22:10
it's been interesting and i i woke up
0:22:17
and when did you go to sleep
0:22:22
i didn't tonight i didn't sleep last
0:22:26
um well hang on a minute hang on
0:22:30
you didn't see fraud the night and
0:22:33
you've been awake all for us until now
0:22:38
yeah but um yesterday i slept
0:22:50
day you were awake from from
0:22:53
12 the whole night and now
0:22:56
the whole day and now this is the night
0:22:59
dude how do you do this
0:23:01
no no so i didn't intend to do it so the
0:23:05
i was up all night right so i was up
0:23:09
actually i was up till seven and i woke
0:23:13
so there was no point sleeping um
0:23:16
also before no no i could have missed
0:23:20
admire you man i really admire you
0:23:23
as in it's not about that result i could
0:23:26
death cop or i could have missed the
0:23:28
classes as well but the whole thing was
0:23:30
if i slept at seven then i'll wake up at
0:23:34
i don't know like twelve or one and then
0:23:37
my whole sleep schedule would be messed
0:23:39
up for the next day
0:23:40
ah right right right so the
0:23:44
only way was to not sleep
0:23:53
shifted the screen to you
0:23:57
wow man that was just that's
0:24:00
incredible what what you did there uh i
0:24:04
i did it once i mean i used to doing
0:24:08
uni yeah and then that was normal
0:24:12
yeah since i finished uni got full-time
0:24:17
i'm like yeah no more overnighters
0:24:22
yeah i really admire you man
0:24:27
like how does your brain even function
0:24:38
i mean you get used to it as you were
0:24:40
discussing the other day and
0:24:42
yeah yeah true though i'm
0:24:55
yeah the two string is causing the
0:24:59
requests don't body the board name is
0:25:02
undefined oh so that's the problem
0:25:06
that we are to stringing a null string
0:25:09
like on the fine side not null undefined
0:25:14
all right so the problem is in fetch api
0:25:18
there i think so let's see what
0:25:39
should i put this in columns or double
0:25:45
no because that's a variable so
0:25:48
not the hard coded thing so that
0:25:51
wouldn't go in quotes
0:26:34
is using the whole json stringy file
0:26:38
on the entire body
0:26:41
yeah i think we should try doing that
0:26:46
we haven't done that
0:26:51
yeah maybe i'll do this i have a feeling
0:26:53
that'll do the trick
0:26:57
hopefully oh man come on
0:27:01
i'm not i'm not being as in passive
0:27:06
always say hopefully by that
0:27:09
i mean hope for the best and plan for
0:27:15
okay from now on shall i start saying
0:27:20
probably let's see probably okay
0:27:23
cool oh that guess would be a bad choice
0:27:28
a word yeah is it still not doing yet
0:27:34
what happened there
0:27:37
huh right seeing what happened in the
0:27:58
i'm still really showing up as in the
0:28:04
when did you do it five seconds
0:28:18
um to strangle fun defined
0:28:29
but before it was showing up
0:28:37
uh before it was showing up isn't it as
0:28:42
yes but that was with the dot text
0:28:46
not dog that was the board nation no no
0:28:53
i'll alert it and see what i get
0:29:15
object still wait it didn't compile
0:29:33
wow it's like the server isn't running
0:29:36
but it's still in the crash
0:29:40
it's so annoying how can i turn off cash
0:29:48
go to advance properly and check if you
0:29:51
can do it from there
0:29:53
browsing download history once no
0:29:57
no don't think it can be done
0:30:10
okay don't give me something okay that's
0:30:28
uh board is not oh
0:30:32
i think there was a spelling error
0:30:38
i'm getting bored with like double ammo
0:30:55
okay so that one does it
0:30:58
it's coming up with the value that's the
0:31:03
which is if you go back so bordeaux
0:31:08
is working okay um
0:31:12
oh do you want to do
0:31:16
jason stringify board or board
0:31:39
um we need to send the whole object
0:31:42
not just the string
0:31:49
you know what i mean but why are we
0:32:03
i don't think we need to send that as an
0:32:08
i mean what the board name
0:32:11
yes because that's only a string
0:32:14
yeah in the api that's the whole point
0:32:17
right there will be other attributes
0:32:19
and that's probably the standards to
0:32:31
is that because um
0:32:34
if i share my screen hang on i just want
0:32:38
show you something yeah just one
0:32:42
second string and why did i get
0:33:01
i think i know where the problem is
0:33:12
just a bit confused now so if you if i
0:33:16
okay i'm already screen yeah
0:33:20
see how here we have got this entire
0:33:24
object as in the item itself
0:33:29
yeah and then the item has got the board
0:33:32
the board name and the board knows
0:33:35
which is all as in one row
0:33:42
why are we bringing board name as an
0:33:45
when it should be a string only here
0:33:49
um we're not bringing board name as an
0:33:52
object we are bringing the
0:33:54
board attributes um to here
0:33:58
right now it's in an initial state so
0:34:01
we're only we're only needing board name
0:34:05
we are passing it as an object because
0:34:06
we are passing board all the board
0:34:09
is just only that at this moment the
0:34:13
board has only one attribute okay um
0:34:16
i think you're thinking way in the
0:34:20
future because they it uh so the board
0:34:24
colored the board's size
0:34:27
that's not in the specification
0:34:31
at the moment but it may be as in
0:34:34
from the requirement it could
0:34:38
or couldn't may not come
0:34:43
as a requirement so i think here we are
0:34:46
stepping way ahead from the basics
0:34:51
right but um i also point out not just
0:34:54
user requirements um when we're gonna
0:34:58
they're gonna be a lot more attributes
0:35:00
like they're going to be some cloud
0:35:02
watch attributes related to
0:35:05
board logs or relating to um
0:35:08
who like um who's the owner of this
0:35:11
which user does this board belong to so
0:35:14
they're gonna be functional attributes
0:35:17
yes fish can all come in this one
0:35:25
column which is the um and
0:35:29
while passing text we can only pass one
0:35:34
but while passing a json object you can
0:35:37
as many attributes you want but text
0:35:41
like abcd as the board name that's it
0:35:45
okay um right okay
0:35:48
that would make sense
0:35:51
but um see how the requirements
0:35:59
is uh from the homepage
0:36:02
yeah i'm gonna just i feel
0:36:07
like i'm talking to vs code at the
0:36:09
moment i wanna see you as well
0:36:13
um so you know how at the moment we are
0:36:16
just the board name from the home page
0:36:23
on go i think that
0:36:27
just for this requirement we are
0:36:32
walking ahead of ourselves because
0:36:36
on the home page the only requirement is
0:36:39
when you press go only the board
0:36:43
name should go in the database
0:36:47
and you you are right to a certain
0:36:51
extent that it could be more
0:36:54
attributes for for example the
0:36:57
user who has made this board
0:37:01
it will go there this
0:37:09
time does the user want the
0:37:12
board to go there and all those
0:37:15
sorts of things but i think
0:37:25
kind of skipping the
0:37:30
betweens between steps from the basics
0:37:34
and just uh jump into it advance
0:37:38
but what do you think um i i think like
0:37:41
i i give i go i give it you're coming
0:37:44
um i also want to kind of get it done at
0:37:46
this point as well but
0:37:48
um don't you think like that's what
0:37:50
happens in the industry like
0:37:52
um for security purposes and all the
0:37:56
these things are passed as a object and
0:37:59
um even if it's like not about getting
0:38:01
ahead of ourselves it's just about
0:38:03
um making it work right so that we don't
0:38:07
uh well that's the uh
0:38:11
that's where agile comes in because
0:38:14
what the model you're talking about now
0:38:17
what's for them once we do
0:38:20
everything we don't want to come back
0:38:23
in agile we always as in
0:38:27
see the user requirements at
0:38:30
every other same week get the
0:38:33
feedback and then come back
0:38:36
yeah so i think coming back would
0:38:39
would be meaning like adding attributes
0:38:42
like colors and stuff
0:38:44
that'll be coming back but um not fixing
0:38:53
you mean you you you want to start all
0:38:57
and enhancing it in the first place
0:39:01
no i i just want to like um so like what
0:39:04
i have like we have learned that
0:39:05
you like um like you're right
0:39:09
like agile relates to coming back and um
0:39:12
seeing what the user wants new and
0:39:14
adding the features i guess
0:39:16
so yes so yes what we are thinking is
0:39:21
coming back to it and fixing the bug
0:39:23
which we didn't fix
0:39:27
but well the bug is fixed already but
0:39:31
want to send them as an
0:39:37
uh so that we are able to pass more
0:39:42
attributes that are not even
0:39:45
required at this stage all right
0:39:49
but we we are anticipating them right
0:39:52
i'm pretty sure there's gonna be at
0:39:53
least one more attribute
0:39:57
yes there would be but that's
0:40:01
when the extreme basics are covered
0:40:05
and then we go on to says
0:40:12
say how i um how we
0:40:15
explain that we're just replicating the
0:40:19
existing functionality from the
0:40:25
this is a part of the original
0:40:28
problem that we are trying to
0:40:32
replicate as in just to send the board
0:40:36
board board name nothing else
0:40:39
for now okay so to
0:40:42
complete that in just an extreme basic
0:40:46
so is that what you're saying
0:40:50
you want to do it as a text is that what
0:41:06
shouldn't do it as a text
0:41:10
yeah but we should actually do as a
0:41:13
json object which have
0:41:17
completely green with that but
0:41:21
the part that we both have having a bit
0:41:25
say i might be mis and
0:41:28
uh understanding you that you you want
0:41:32
from the get-go the
0:41:35
enhanced version but you
0:41:40
you want to skip the basic functionality
0:41:43
is that what you're saying or
0:41:54
this error wouldn't have occurred the
0:41:55
first thing which we tried by default
0:41:59
send it as a json object yeah but the
0:42:02
they're sending it as a text was just a
0:42:04
work around it so we kind of
0:42:06
in the back of our mind that sending us
0:42:09
a rejection object is what we were
0:42:11
and for security purposes as well we
0:42:16
should send it as a json object only
0:42:18
like that was the first thing which we
0:42:20
hang on but wasn't there already working
0:42:24
wasn't just the board name itself
0:42:27
was already working with jason and
0:42:30
what we were doing at the moment is
0:42:34
sending multiple objects no we we are
0:42:37
only sending one object you can't send
0:42:39
multiple objects in one post
0:42:42
yes so that's what i'm really confused
0:42:45
about at the moment because
0:42:46
you're saying i in the future there
0:42:50
must be both choosing
0:42:53
choosing username and everything let's
0:42:57
i think it's a good thing we are having
0:42:58
a discussion about it
0:43:00
um so you know how when
0:43:04
you send um like as a post
0:43:08
there's a body and yeah yeah
0:43:12
in the body you can have a lot of
0:43:15
different options either you want to
0:43:18
or you own it as text or you want to
0:43:22
any other thing you can send it html as
0:43:30
saying that multiple attributes is what
0:43:35
we are only sending one object like
0:43:36
we're only writing one body
0:43:38
we're not writing which is literally not
0:43:42
yeah yeah it just means that
0:43:45
even though we have only one attribute
0:43:47
right now like you know how we do
0:43:49
postman and we select jason
0:43:50
in the body not text yeah um
0:43:54
so i mean that that's that's again
0:43:57
it's favoring consistency as well
0:44:00
board name note id like even note uh
0:44:03
is posted as a json object
0:44:07
yeah and then then
0:44:11
the difference comes in when we send
0:44:14
text is just like we're sending one
0:44:15
string in plain format
0:44:19
which is um for our purposes
0:44:23
not secure and not consistent and
0:44:28
like we will have to come back and
0:44:30
change it yeah any
0:44:32
um like even if we don't have colors and
0:44:35
stuff i'm pretty sure we're going to add
0:44:36
an attribute let's say
0:44:38
date created or time created for board
0:44:44
that's gonna like um and even if we
0:44:48
didn't get a work around the um text
0:44:51
like sending it as a string the first
0:44:53
thing which we tried doing was
0:44:55
sending it as a json object because we
0:44:57
kind of knew in the back of the mind
0:44:59
this is probably how it should work
0:45:02
so that's why um i was kind of like
0:45:05
leaned towards making it work first
0:45:09
um and because if this works then
0:45:11
sending notes and stuff would be easy as
0:45:14
they use a json object format
0:45:17
right right i see where you coming from
0:45:21
mis understanding from my
0:45:24
side was that i was thinking of the
0:45:29
attributes that you're trying to post
0:45:35
at least two objects
0:45:38
and i'm like why are we
0:45:44
that's practically not even possible
0:45:50
i get it yeah so if that's just
0:45:54
not real then yeah we
0:45:57
should be doing that from the
0:46:04
if you really feel like um i also do get
0:46:08
in agile format the requirement is to
0:46:10
make the schema work and if it works
0:46:13
with making it work as a string and we
0:46:16
want to move forward
0:46:17
um like i do get that point as well and
0:46:20
we should do that if you really feel um
0:46:21
that's the right thing to do
0:46:23
um i think if this
0:46:27
point uh because it's not really
0:46:33
as in transmit data from
0:46:37
the browser to the server as a text
0:46:42
format so i think we should actually
0:46:46
focus on getting the json pub
0:46:49
correct and from then
0:46:53
we can move on i know it's taking us
0:46:56
longer than expected but it's um
0:47:00
both of us are doing fetch apf for the
0:47:04
first time so i'm not really
0:47:07
wanting to rush as long as we
0:47:11
get the basics right right okay
0:47:14
yeah i think that's a good approach and
0:47:17
the good part is we don't have a
0:47:18
deadline or something
0:47:22
which we are doing here at will and we
0:47:26
uh document it as well so yeah true
0:47:29
and by the by the way there was a really
0:47:33
good explanation of you as in
0:47:36
trying to explain the entire
0:47:40
scenario and then the summary of it i
0:47:50
already we had our
0:47:52
project meeting yeah let's get back to
0:47:56
action now all right
0:48:05
so did you say the board thing is
0:48:09
working fine on your side and you can
0:48:12
value there isn't a string i'm showing
0:48:16
my screen it's not
0:48:18
um there's something which
0:48:22
we are kind of missing here
0:48:42
actually every time i have to do it now
0:48:44
i have to clear my cash
0:48:48
i'm really surprised that the hard
0:48:51
doesn't work anymore
0:48:58
so string is for type of
0:49:02
board type off and then the um
0:49:11
if if the board is coming as
0:49:15
string it shouldn't be because
0:49:19
excuse me i hope you didn't hear it
0:49:26
i don't think board should come as type
0:49:29
of string should come as an object
0:49:36
okay object third is coming in
0:49:46
right what did he say i couldn't see
0:49:50
um just one second right
0:50:05
we'll try this one
0:50:14
so that's coming up as object
0:50:17
and that was showing the content
0:50:33
responded with the status 502
0:50:36
what is the status 502
0:50:47
um right okay what i'll do is
0:50:50
i'll do something which
0:50:55
might make it work
0:51:02
oh just gonna suggest
0:51:06
that way as well yeah i think
0:51:10
it's probably the last results
0:51:17
let's try that so this goes in the body
0:51:22
all right um can you show me the api
0:51:31
body and then board name yeah
0:51:35
i mean that that should do the trick
0:51:38
uh okay we are printing that we're doing
0:51:42
name nut to string
0:51:45
all right right okay
0:51:49
let's try running this one
0:51:57
okay i'll share my screen
0:52:14
hey let's name it zen
0:52:26
see what you got in that thing
0:52:51
everything is undefined
0:52:56
it's causing so the two string is
0:52:58
causing the problem here
0:53:00
let's remove it it's not really doing
0:53:07
but we're not even using two string now
0:53:20
was causing the problem actually
0:53:24
just remove that i don't trust it
0:53:27
um i'm just confirming are you sure it's
0:53:30
the request object or the res
0:53:35
i'm pretty sure it's a request object
0:53:44
i think this one works
0:53:48
yeah yeah let's do that and not do two
0:53:52
yeah could that might be
0:53:55
causing the issue yep
0:53:59
um there's one two string there
0:54:04
in line number 98 yeah there you go
0:54:20
you could pass the test which one
0:54:24
early on one sorry
0:54:28
earlier on one which test
0:54:32
you know the discussion that we
0:54:35
we were having yeah i was
0:54:39
doing that purposely nice
0:54:42
what was the did you pass your test huh
0:54:46
what was the agenda the
0:54:53
was it to prove that i'm stubborn or not
0:55:03
you can actually articulate as in
0:55:09
things properly right
0:55:12
okay i guess that's good to know
0:55:19
what was going on but i think that they
0:55:23
might be a good for fun to put you on
0:55:26
and see how you do but
0:55:29
you had to live fantastically it was fun
0:55:39
right so this is fine
0:55:43
this would obviously be undefined so i'm
0:55:52
console logging yet and this one
0:56:00
board name okay cool let's try this
0:56:03
all right that's probably the last build
0:56:06
do today yeah because i know
0:56:10
i'm not gonna hold you any more any more
0:56:15
you had tempe long day yeah
0:56:24
my partner wants to make biryani tonight
0:56:26
i'm like not happening buddy
0:56:33
can i come when you guys make brianna
0:56:38
huh you can actually come but wait you
0:56:41
actually can't though
0:56:43
yeah no it says allowed at the moment
0:56:47
as in from the lockdown
0:56:52
yes at times but i'll surely get you
0:56:58
sure man yeah ah i need to focus
0:57:03
oh sorry the biryani is too distracting
0:57:13
okay focus focus there we go
0:57:21
all right there we go that one's done
0:57:23
and it would just ask me to deploy this
0:57:26
when i will go yes i want to
0:57:36
that one's done come on come on man come
0:57:40
you wanna test this one and then it's
0:57:57
okay that's fine okay um
0:58:01
do you want to do it again okay
0:58:09
all righty everything's fine here
0:58:14
we start the server
0:58:22
just pull as in letter
0:58:25
t and press go don't need to
0:58:32
yeah too many letters you just want to
0:58:36
test it really quick
0:58:43
object ah okay so that shows oh
0:58:47
that's good that's good stuff so
0:58:50
we're not getting that error anymore
0:58:53
no but um we didn't get us
0:58:57
but we didn't get there okay cool
0:59:00
uh let's check okay
0:59:04
just bored name is undefined cool
0:59:08
so if this is coming undefined then it's
0:59:19
now you would be the request i'm pretty
0:59:21
sure it can't be the
0:59:23
response because we're sending the
0:59:27
when you print the request object just
0:59:29
the request object maybe it's request
0:59:32
dot board name and not but
0:59:34
we don't need to go into the body
0:59:38
actually i'll do i'm just checking
0:59:42
this i actually don't know but
0:59:45
let's have a look yes let's print
0:59:48
request request dot body request dot
0:59:51
body dot board name like everything
0:59:54
and see exactly again
0:59:58
let's control the log the request object
1:00:01
request.body object
1:00:03
yeah and the use dot body dot board name
1:00:06
which is undefined for sure what's too
1:01:00
okay yeah what's up
1:01:03
how if we do a hackathon once
1:01:17
because i think that if we
1:01:21
go in this kind of speed we won't be
1:01:25
get the project done in the in the
1:01:29
right yeah i mean we need to prioritize
1:01:33
focus on more the project or the stream
1:01:38
then we need to go slower fse project
1:01:41
we need to go fast
1:01:45
all right is it deployed or is it just
1:01:48
it's deployed as well all right so now
1:01:51
if you're going to
1:01:56
i'll show you my square there you go
1:02:06
okay i'll go there now and check
1:02:11
boys we got something the good news
1:02:14
but it's not what we're expecting
1:02:18
all right that's fine
1:02:21
it says board name is there okay
1:02:24
so in the body hang on
1:02:28
what did you type in rd
1:02:50
let's continue this off to it because
1:02:54
worried about you that you me you might
1:02:56
just pass out because
1:02:58
no i mean i have to go ahead and make
1:03:04
don't think that's an option anyone's
1:03:07
so you're going to make yourself no i'm
1:03:10
just i'm just going to stand there while
1:03:18
that's good man yeah um all right
1:03:21
uh thanks a lot guys for
1:03:25
um tuning in uh this has been
1:03:28
real fun um k passed the test
1:03:32
which i was really happy about and hit
1:03:39
that's good cool um
1:03:46
really really close to getting the board
1:03:50
name as in jason and um
1:03:54
we will hopefully it will probably be
1:03:58
finishing the board name task tomorrow
1:04:02
yeah and that would be the goal so if
1:04:04
you want to see how we
1:04:06
finish it come along tomorrow and
1:04:10
have fun with us coding as well so in
1:04:14
um you want to ask something as well
1:04:18
now that i think that was pretty much it
1:04:20
um yeah thanks for putting me to the
1:04:24
i guess it was fun um it was fun yeah
1:04:27
yeah i'll i'll see you guys tomorrow i
1:04:29
guess and with the
1:04:31
then you wanna end it with your slogan
1:04:36
same time same place same task
1:04:42
cool see you guys gonna cheers good guys